package com.hmall.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmall.user.domain.dto.LoginFormDTO;
import com.hmall.user.domain.po.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.user.domain.vo.UserLoginVO;
import com.hmall.user.domain.vo.UserPageQueryVO;

/**
* @author yangfeng
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2024-12-17 16:26:51
*/
public interface SysUserService extends IService<SysUser> {
    UserLoginVO login(LoginFormDTO loginFormDTO);

    void deductMoney(String pw, Integer totalFee);

    Page<SysUser> getUserPageData(UserPageQueryVO vo);
}
